package cn.yunhe.dao;

import cn.yunhe.entity.Topic;

import java.util.List;
import java.util.Map;

public interface ItopicDao {
        Topic getTopicByTid(int Tid);
      List<Topic> getAllTopic(Map<String, Object> map);
      boolean addTopic(Topic topic);
      boolean updateTopic(Topic topic);
      boolean deleteTopic(Topic topic);
      int getCountTopic(Map<String, Object> map);
}
